package com.bgs.eat.text;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface TestMapper {

    @Select("select * from shop")
    @Results({
            @Result(property = "shopName",column = "shop_name")
    })
    List<TestEntity> testPublic();
}
